COLimage
 
 
 Bean COLimage
 
Color image

Typical usage of the bean in user's code.

Typical Usage:

Assume the bean name "Cim1".

This bean can be used in several cases. Following example is one of them.

 MAIN.C

PIMAGE img;      /* PIMAGE is defined in PE_Types.h */
uint16_t size;

void main(void)
{
  /* Get pointer to a structure describing an image */
  img = Cim1_GetImage();   
  
  size = img->size;        /* Gets size of an image */
  ... 
  
}

For more about typical usage of the bean code please refer to the page Bean Code Typical Usage.


Processor ExpertTM and Embedded BeansTM are registered trademarks of UNIS, Ltd.
©1997-2005, UNIS, Ltd.